﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Chenxin.Lib.Hr.Entity
{
    /// <summary>
    /// 实体类Hr_Struct_UserDepartRelation 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class Hr_Struct_UserDepartRelation
    {
        public Hr_Struct_UserDepartRelation()
        { }

        #region Model
        private Guid _recordid;
        private Guid _departid;
        private string _departname;
        private Guid _userid;
        private string _username;
        private bool _isbelong;
        private DateTime _comedate;
        private DateTime _leavedate;
        private int _roletype;
        private DateTime _addtime;

        public Guid RecordId
        {
            set { _recordid = value; }
            get { return _recordid; }
        }

        public Guid DepartId
        {
            set { _departid = value; }
            get { return _departid; }
        }

        public string DepartName
        {
            set { _departname = value; }
            get { return _departname; }
        }

        public Guid UserId
        {
            set { _userid = value; }
            get { return _userid; }
        }

        public string UserName
        {
            set { _username = value; }
            get { return _username; }
        }

        public bool IsBelong
        {
            set { _isbelong = value; }
            get { return _isbelong; }
        }

        public DateTime ComeDate
        {
            set { _comedate = value; }
            get { return _comedate; }
        }

        public DateTime LeaveDate
        {
            set { _leavedate = value; }
            get { return _leavedate; }
        }

        public int RoleType
        {
            set { _roletype = value; }
            get { return _roletype; }
        }

        public DateTime Addtime
        {
            set { _addtime = value; }
            get { return _addtime; }
        }

        #endregion Model
    }
}
